﻿using Developer.Core.FrameWork.ClusterLoadBalance.Options;
using Developer.Core.FrameWork.MiddlePlatformService.Options;
using Developer.Core.FrameWork.RegisterCenter.Options;
using System;
using System.Collections.Generic;
using System.Text;

namespace Developer.Core.FrameWork.DynamicMiddlePlatformService.Options
{
    /// <summary>
    /// 动态中台配置选项
    /// </summary>
    public class DynamicMiddlePlatformOptions
    {
        public DynamicMiddlePlatformOptions()
        {
            this.discoveryOptions = options => { };
            this.loadOption = options => { };
            this.platformOption = options => { };
        }

        /// <summary>
        /// 服务发现配置选项
        /// </summary>
        public Action<ServiceDiscoveryOptions> discoveryOptions { get; set; }

        /// <summary>
        /// 负载均衡配置选项
        /// </summary>
        public Action<LoadBalanceOptions> loadOption { get; set; }

        /// <summary>
        /// 中台配置选项
        /// </summary>
        public Action<MiddlePlatformOptions> platformOption { get; set; }
    }
}
